.nav-bar{
  display: flex;
  align-items: center;
  height: 40px;
  line-height: 40px;
  text-align: center;

}
.left,.right{
  width: 40px;
} 
.center{
  flex: 1;
}